﻿using FreeSql.DataAnnotations;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using ZhonTai.Admin.Core.Entities;

namespace ZhonTai.Industry.Domain.Shift
{
    /// <summary>
    /// 班次
    /// </summary>
    /// <remarks>班次</remarks>
    [Table(Name = "prd_Shift")]
    public class ShiftEntity : EntityBase
    {
        /// <summary>
        /// 编号
        /// </summary>
        /// <remarks></remarks>
        public string Code { get; set; }

        /// <summary>
        /// 名称
        /// </summary>
        /// <remarks></remarks>
        public string Name { get; set; }

        /// <summary>
        /// 开始时间
        /// </summary>
        /// <remarks></remarks>
        public TimeSpan StartTime { get; set; }

        /// <summary>
        /// 结束时间
        /// </summary>
        /// <remarks></remarks>
        public TimeSpan EndTime { get; set; }
    }
}